//
//  Model.m
//  TableViewCell边距缩进
//
//  Created by jyh on 2018/5/16.
//  Copyright © 2018年 huig. All rights reserved.
//

#import "Model.h"

@implementation Model

- (instancetype)initWithDict:(NSDictionary *)dict {
    
    if (self = [super init]) {
        
        [self setValuesForKeysWithDictionary:dict];
    }
    return self;
}

+ (instancetype)modelWithDict:(NSDictionary *)dict {
    
      return [[self alloc] initWithDict:dict];
}

@end
